package com.yudongyang.domain;

import java.math.BigDecimal;

public class Goods {

	private Integer id;
	private String name;
	private BigDecimal price;
	private Integer sales;
	
	private Integer p1;
	private Integer p2;
	private Integer s1;
	private Integer s2;
	
	private String name1;
	private String name2;
	
	
	public String getName1() {
		return name1;
	}
	public void setName1(String name1) {
		this.name1 = name1;
	}
	public String getName2() {
		return name2;
	}
	public void setName2(String name2) {
		this.name2 = name2;
	}
	public Integer getP1() {
		return p1;
	}
	public void setP1(Integer p1) {
		this.p1 = p1;
	}
	public Integer getP2() {
		return p2;
	}
	public void setP2(Integer p2) {
		this.p2 = p2;
	}
	public Integer getS1() {
		return s1;
	}
	public void setS1(Integer s1) {
		this.s1 = s1;
	}
	public Integer getS2() {
		return s2;
	}
	public void setS2(Integer s2) {
		this.s2 = s2;
	}
	public Goods() {
		// TODO Auto-generated constructor stub
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public Integer getSales() {
		return sales;
	}
	public void setSales(Integer sales) {
		this.sales = sales;
	}
	@Override
	public String toString() {
		return "Goods [id=" + id + ", name=" + name + ", price=" + price + ", sales=" + sales + "]";
	}
	public Goods(Integer id, String name, BigDecimal price, Integer sales) {
		super();
		this.id = id;
		this.name = name;
		this.price = price;
		this.sales = sales;
	}
	
}
